<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>发货清单</title>
<style type="text/css">
<!--
.STYLE3 {font-size: 13px}
-->
</style>
</head>
<body>
<table align="center" style="width:23cm;height:10cm">
<tr><th width="100%" colspan="2">山东金科力电源科技有限公司&nbsp;&nbsp;发货清单</th></tr>
<tr>
<th align="left" width="70%">收货单位：${order.cname}</th>
<td align="right" width="30%">日期：${odate}</td>
</tr>
<tr>
<th align="left" width="70%">地址：${cust.address}</th>
<td align="right" width="30%">No：${order.id}</td>
</tr>
<tr>
<td colspan="2">
<table border="0" cellspacing="0" width="100%">
<tr>
<td align="left" width="55%">联系电话：${cust.tel } </td>
<td align="right" width="45%"><span class="STYLE3">注：白-回单联，粉-客户联</span></td>
</tr>
</table>
</td>
</tr>
<tr><td colspan="2">
<table border="1" cellspacing="0" width="100%">
<tr>
<th width="30%">品名</th>
<th width="10%">数量</th>
<th width="10%">件数</th>
<th width="30%">品名</th>
<th width="10%">数量</th>
<th width="10%">件数</th>
</tr>
<tr>
<td width="100%" height="100" colspan="6">
<table width="100%" height="100%" border="0" cellspacing="0">
<tr>
<td width="100%" colspan="2">
<table width="100%" border="0" cellspacing="0">
<c:if test="${!empty ops}">
<c:forEach items="${ops}" var="op" varStatus="i">
<c:if test="${i.index%2==0}">
<tr>
<td width="30%">${op.custname}</td>
<td width="10%">${op.num}</td>
<td width="10%">${op.packagenum}</td>
</c:if>
<c:if test="${i.index%2==1}">
<td width="30%">${op.custname}</td>
<td width="10%">${op.num}</td>
<td width="10%">${op.packagenum}</td>
</tr>
</c:if>
</c:forEach>
<c:if test="${opssize%2==1}">
<td width="30%">&nbsp;</td>
<td width="10%">&nbsp;</td>
<td width="10%">&nbsp;</td>
</tr>
</c:if>
</c:if>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="6">重量合计：
<c:if test="${totalNumKg!=0}">${totalNumKg}kg</c:if>&nbsp;&nbsp;
<c:if test="${totalNumL!=0}">${totalNumL}L</c:if>&nbsp;&nbsp;
<c:if test="${totalNumT!=0}">${totalNumT}条</c:if>
&nbsp;&nbsp;&nbsp;&nbsp;
件数合计：${totalPackageNum}件
</td>
</tr>
<tr>
<th width="20%">发货方信息</th>
<td width="80%" colspan="5">地址：山东淄博淄川经济开发区马莲山圣川路8号<br/>电话：0533-5310399&nbsp;&nbsp;传真：5313399<br/>
  经办人：${order.operator}&nbsp;&nbsp;&nbsp;&nbsp;${order.contact} </td>
</tr>
</table>
</td></tr>
<tr>
<td width="100%" height="100%" colspan="2">
<table width="100%" height="100%">
<tr>
<td width="18%">保管员：</td>
<td width="16%">提货人：</td>
<td width="16%">承运人：</td>
<td width="18%">电话：</td>
<td width="16%">车号：</td>
<td width="16%">签收：</td>
</tr>
</table>
</td>
</tr>
</table>

</body>
</html>
